Enable macOS builds with ad-hoc signing in CI/CD workflows - #81
Merged
Conversation
Enable macOS builds in CI, release, and nightly workflows using ad-hoc signing (APPLE_SIGNING_IDENTITY="-") instead of requiring an Apple Developer ID certificate. This produces unsigned DMGs suitable for distribution via Homebrew Cask (which handles quarantine removal in its postflight script). Use macos-13 for Intel builds since macos-15 runners are ARM-based. Signed-off-by: Claude <noreply@anthropic.com> https://claude.ai/code/session_01LJRyPkNX753y9Q97ASPoM1 Signed-off-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Re-enable macOS build verification and release workflows by implementing ad-hoc code signing as a fallback when an Apple Developer ID is unavailable. This allows the application to build and run on macOS without requiring a paid Apple Developer account.
Key Changes
CI workflow (ci.yml): Uncommented and re-enabled the macOS build verification job that was previously disabled
APPLE_SIGNING_IDENTITY: '-'environment variable to enable ad-hoc signing during the build stepRelease workflow (release.yml): Re-enabled macOS build matrix entries for both ARM64 and Intel architectures
macos-latestwithaarch64-apple-darwintarget for ARM buildsmacos-13withx86_64-apple-darwintarget for Intel buildsNightly workflow (nightly.yml): Re-enabled macOS nightly builds
APPLE_SIGNING_IDENTITYenvironment variable that uses ad-hoc signing ('-') only for macOS runnersImplementation Details
APPLE_SIGNING_IDENTITY: '-') allows unsigned binaries to be built and executed locally without requiring a valid Apple Developer certificatehttps://claude.ai/code/session_01LJRyPkNX753y9Q97ASPoM1